home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / os2 / lxlt113.zip / SOURCES / RTL / !README next >
Text File  |  1996-06-11  |  955b  |  21 lines

  1. This directory contains a slightly modified version
  2. of CRT.TPU. The differences are:
  3. 1. On the start-up it determines whenever stdin/stdout are redirected
  4. and does NOT assign CRT to them if they are so. So the programs compiled
  5. with such CRT unit can be redirected (say lxlite >nul or lxlite |more <answers)
  6. The boolean variables RedirInput and RedirOutput are set in correspondence to 
  7. the status of input/output streams.
  8. 2. The procedure WritePackedString is modified so it will run almost as fast
  9. as possible. The initial version works on a char-by-char basis which is SLOW!
  10.  
  11. Beside these modifications to CRT.PAS AT LEAST ONE `undocumented` (really
  12. documented by IBM but without guaranties in the future) function must be 
  13. added to the OS2BASE.PAS for programs to compile properly:
  14.  
  15. function DosReplaceModule(OldModName,NewModName,BackModName: PChar): ApiRet;
  16.  
  17. [...and at the end of unit...]
  18.  
  19. function DosReplaceModule; external;
  20.  
  21.